using System;

namespace OpenLS.Spreadsheet
{
    ///<summary>
    /// Specifies the type of border to set.
    ///</summary>
    [Flags]
    public enum BorderType
    {
        ///<summary>
        /// Left edge border
        ///</summary>
        LeftEdge = 0x0001,
        ///<summary>
        /// Top edge border
        ///</summary>
        TopEdge = 0x0002,
        ///<summary>
        /// Right edge border
        ///</summary>
        RightEdge = 0x0004,
        ///<summary>
        /// Bottom edge border
        ///</summary>
        BottomEdge = 0x0008,
        ///<summary>
        /// Vertical inside border
        ///</summary>
        InsideVertical = 0x0010,
        ///<summary>
        /// Horizontal inside border
        ///</summary>
        InsideHorizontal = 0x0020,
        DiagonalDown = 0x0040,
        DiagonalUp = 0x0080,
        ///<summary>
        /// All outside edges border
        ///</summary>
        OutsideEdge = LeftEdge | RightEdge | TopEdge | BottomEdge,
        ///<summary>
        /// All borders
        ///</summary>
        All = OutsideEdge | InsideVertical | InsideHorizontal,
    }
}